package com.agile.familytree.datastructure;

import java.util.ArrayList;

public class Person {
	
	private String identifier = "";
	private String idType = "";
	private String indi="";
	private String name="";
	private String sex="";
	private String birt="";
	private String deat="";
	private String famc="";
	private String fams="";
	
	private String fam="";
	private String marr="";
	private String husb="";
	private String wife="";
	private ArrayList<String> chil = new ArrayList<String>();
	private String div="";
	private String date="";
	
	
	private String trlr="";
	private String note="";
	
	
	public String getIdType() {
		return idType;
	}
	public void setIdType(String idType) {
		this.idType = idType;
	}
	public String getIdentifier() {
		return identifier;
	}
	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}
	public String getIndi() {
		return indi;
	}
	public void setIndi(String indi) {
		this.indi = indi;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getBirt() {
		return birt;
	}
	public void setBirt(String birt) {
		this.birt = birt;
	}
	public String getDeat() {
		return deat;
	}
	public void setDeat(String deat) {
		this.deat = deat;
	}
	public String getFamc() {
		return famc;
	}
	public void setFamc(String famc) {
		this.famc = famc;
	}
	public String getFams() {
		return fams;
	}
	public void setFams(String fams) {
		this.fams = fams;
	}
	public String getFam() {
		return fam;
	}
	public void setFam(String fam) {
		this.fam = fam;
	}
	public String getMarr() {
		return marr;
	}
	public void setMarr(String marr) {
		this.marr = marr;
	}
	public String getHusb() {
		return husb;
	}
	public void setHusb(String husb) {
		this.husb = husb;
	}
	public String getWife() {
		return wife;
	}
	public void setWife(String wife) {
		this.wife = wife;
	}
	
	public String getChil(int i) {
		return chil.get(i);
	}

	public String[] getAllChildren() {
	    return chil.toArray(new String[chil.size()]);        
	}

    public ArrayList<String> getListChil(){
    	return chil;
    }
	
	public void setChil(String chil) {
		this.chil.add(chil);
	}
	public String getDiv() {
		return div;
	}
	public void setDiv(String div) {
		this.div = div;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getTrlr() {
		return trlr;
	}
	public void setTrlr(String trlr) {
		this.trlr = trlr;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	
	

}
